package com.alibaba;

import com.sun.tools.attach.AgentLoadException;

public class Dogs {

    private String name;
    private String variety;
    private int age;
    public Dogs(String name,String variety,int age){
        this.age = age;
        this.variety = variety;
        this.name = name;
    }


    public Dogs() {
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return gender
     */
    public String getVariety() {
        return variety;
    }

    /**
     * 设置
     * @param gender
     */
    public void setVariety(String gender) {
        this.variety = gender;
    }

    /**
     * 获取
     * @return age
     */
    public int getAge() {
        return age;
    }

    /**
     * 设置
     * @param age
     */
    public void setAge(int age) {
        this.age = age;
    }

    public String toString() {
        return "Dogs{name = " + name + ", variety = " + variety + ", age = " + age + "}";
    }

    public static void injection(){
        System.out.println("所有的狗月底打针");
    }
}
